package assignmentstrategy

import (
	"codejy/analysis/codeanalysis"
	"codejy/structdef"
)

type ThreadIdStrategy struct {
}

func init() {
	RegisterStrategy(&ThreadIdStrategy{})
}
func (n ThreadIdStrategy) getId() int {
	return codeanalysis.ThreadId
}

func (n ThreadIdStrategy) Execute(threadStore *structdef.ThreadStore, code string) string {
	return threadStore.ThreadId
}
